<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Worker 테스트</title>
<script>
window.onload = function(){
	var r = document.getElementById('result');
	
	var worker = new Worker('worker_thread.js');
	worker.onmessage = function(ev){
		r.innerHTML += ev.data;
	}
}
</script>
</head>
<body>
	<input type="button" value="Push Me">
	<div id="result"></div>
	
</body>
</html>